﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TrackingSearchResults.ascx.cs" Inherits="NLUNZ.UserControls.TrackingSearchResults" %>

            
            <div class="tracking-note" style="padding: 10px;">
				<ul>
					<li>通过唯一运货单号</li>
					<li>能够查询您的货物在运输过程的所有环节状态</li>
					<li>多单查询请分行输入单号</li>
				</ul>
			</div>
<div id="search-input">
<asp:TextBox ID="txtSearchInput" runat="server" Columns="6" Height="79px" 
    TextMode="MultiLine" Width="295px"></asp:TextBox>
    </div>
<asp:Button ID="btnSearch" runat="server" Text="查询" Width="100px" Height="30px"
    onclick="btnSearch_Click" />
<div id="search-result">
    <asp:Repeater ID="rptSearchResults" runat="server" 
        onitemdatabound="rptSearchResults_ItemDataBound">
        <ItemTemplate>
            <div id="tracking-result-area">
                <div class="tracking-result-title"><b><asp:Label runat="server" CssClass="tracking-result-title-number" ID="lblSearchNumber" Text='<%# Eval("DeliveryNumber") %>'></asp:Label></b> 查询结果：</div>
                <asp:ListView runat="server" ID="searchItem" ItemPlaceholderID="iplSearch">
                    <LayoutTemplate>
                        <table class="tracking-result-table">
                            <tr><th>Date</th><th>tracking</th></tr>
                            <tbody id="iplSearch" runat="server"></tbody>
                        </table>
                        <br />
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr class="tracking-row">
                            <td class="tracking-datetime"><%# Eval("TrackingDateTime")%></td>
                            <td class="tracking-description"><%# Eval("TrackingDescription")%></td>
                        </tr>
                    </ItemTemplate>
                    <EmptyDataTemplate>
                        <table>
                            <tr>
                                <td>No Record found in the system!</td>
                            </tr>
                        </table>
                    </EmptyDataTemplate>
                </asp:ListView>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div id="EmptyResult" Visible="False" class="empty-result-box" runat="server">
        很抱歉，您的快递单号暂时没有查询结果！
    </div>
</div>